package org.glut.cloud.repairManage.controller;


import org.glut.cloud.repairManage.service.ISignIn11Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 签到记录表 前端控制器
 */
@RestController
public class SignIn11Controller {

    @Autowired
    private ISignIn11Service signIn11Service;

    @GetMapping("/sign-in1/check")
    public boolean checkSignInStatus() {
        return signIn11Service.checkSignInStatus();
    }

    @PostMapping("/sign-in1/signin")
    public boolean signIn() {
        return signIn11Service.signIn();
    }
}
